﻿using System;
using System.Collections.Generic;
using UnityEngine;

namespace WorldMapNew
{
    public class MapNormalMap : ScriptableObject
    {
        public List<NormalData> mapNormalMap;              

        public MapNormalMap()
        {
            mapNormalMap = new List<NormalData>();
        }

        public void AddNormalData(NormalData data)
        {
            mapNormalMap.Add(data);
        }
    }
    
    /// <summary>
    /// 序列化的资源数据
    /// </summary>
    [Serializable]
    public class NormalData
    {
        public string prefabName;
        public string objPath;
        public string path;
        public NormalData(string prefabName, string objPath, string path)
        {
            this.prefabName = prefabName;
            this.objPath = objPath;
            this.path = path;
        }
    }
}